<?php
/**
 * Created by PhpStorm.
 * User: iyahe@qq.com (天明)
 * Date: 2016/12/1
 * Time: 9:29
 */

$hello = '哈哈哈';
$str = <<<Eof
<h1>我是php输出的内容,你看看~~</h1>
{$hello}
<pre>
hello world
</pre>
Eof;
echo $str;